package com.easygoods.entity;

import com.easygoods.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
public class GoodsSku extends BaseEntity {
    public static final String SPU_ID = "spuId";
    public static final String SKU_NO = "skuNo";
    public static final String SKU_NAME = "skuName";
    public static final String ORIGIN_PRICE = "originPrice";
    public static final String MIN_PRICE = "minPrice";
    public static final String STOCK = "stock";

    private String spuId;
    private String skuNo;
    private String skuName;
    private BigDecimal originPrice;
    private BigDecimal minPrice;
    private Integer stock;
}
